<?php
/**
 * Created by PhpStorm.
 * User: xiaoxin
 * Date: 2018/10/16 0016
 * Time: 14:48
 */

class Cite
{
	public function index(){
		$oldData = file_get_contents("./db/msg.txt");
		$oldData = json_decode($oldData,true);
		return $oldData;
	}

	public function user(){
		$oldData = file_get_contents("./db/user.txt");
		$oldData = json_decode($oldData,true);
		return $oldData;
	}
}